﻿using System;
using System.IO;

// Token: 0x020002C7 RID: 711
[Serializable]
public class CharFileInfoClothesFemale : global::CharFileInfoClothes
{
	// Token: 0x0600114F RID: 4431 RVA: 0x0008C834 File Offset: 0x0008AA34
	public CharFileInfoClothesFemale() : base("【HoneySelectClothesFemale】", "coordinate/female/", Enum.GetNames(typeof(global::CharDefine.ClothesKindFemale)).Length)
	{
		this.MemberInitialize();
	}

	// Token: 0x06001150 RID: 4432 RVA: 0x0008C860 File Offset: 0x0008AA60
	public new virtual void MemberInitialize()
	{
		base.MemberInitialize();
		this.clothesTypeSex = 1;
		int[] array = new int[11];
		array[0] = 101;
		int[] array2 = array;
		for (int i = 0; i < this.clothesKindNum; i++)
		{
			this.clothesId[i] = array2[i];
			this.clothesColor[i] = new global::HSColorSet();
			this.clothesColor2[i] = new global::HSColorSet();
		}
		this.swimType = false;
		this.hideSwimOptTop = false;
		this.hideSwimOptBot = false;
	}

	// Token: 0x06001151 RID: 4433 RVA: 0x0008C8D8 File Offset: 0x0008AAD8
	public override bool Copy(global::CharFileInfoClothes srcData)
	{
		global::CharFileInfoClothesFemale charFileInfoClothesFemale = srcData as global::CharFileInfoClothesFemale;
		if (charFileInfoClothesFemale == null)
		{
			global::Debug.LogWarning("女の服装情報に男の服装情報を入れようとしてる？");
			return false;
		}
		for (int i = 0; i < this.clothesKindNum; i++)
		{
			this.clothesId[i] = charFileInfoClothesFemale.clothesId[i];
			this.clothesColor[i].Copy(charFileInfoClothesFemale.clothesColor[i]);
			this.clothesColor2[i].Copy(charFileInfoClothesFemale.clothesColor2[i]);
		}
		for (int j = 0; j < 10; j++)
		{
			base.accessory[j].Copy(srcData.accessory[j]);
		}
		this.swimType = charFileInfoClothesFemale.swimType;
		this.hideSwimOptTop = charFileInfoClothesFemale.hideSwimOptTop;
		this.hideSwimOptBot = charFileInfoClothesFemale.hideSwimOptBot;
		return true;
	}

	// Token: 0x06001152 RID: 4434 RVA: 0x0008C99C File Offset: 0x0008AB9C
	public override bool SaveSub(BinaryWriter bw)
	{
		bw.Write(this.swimType);
		bw.Write(this.hideSwimOptTop);
		bw.Write(this.hideSwimOptBot);
		return true;
	}

	// Token: 0x06001153 RID: 4435 RVA: 0x0008C9C4 File Offset: 0x0008ABC4
	public override bool LoadSub(BinaryReader br, int clothesVer, int colorVer)
	{
		this.swimType = br.ReadBoolean();
		this.hideSwimOptTop = br.ReadBoolean();
		this.hideSwimOptBot = br.ReadBoolean();
		return true;
	}

	// Token: 0x04001715 RID: 5909
	public bool swimType;

	// Token: 0x04001716 RID: 5910
	public bool hideSwimOptTop;

	// Token: 0x04001717 RID: 5911
	public bool hideSwimOptBot;
}
